package cn.tedu.icop.basic.dao.mapper;

import cn.tedu.icop.api.domain.GunStatusUpdateParam;
import cn.tedu.icop.basic.pojo.GunPO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;

@Mapper
public interface GunMapper extends BaseMapper<GunPO> {
    @Update("update charging_gun_info set gun_status = #{gunStatus} where id = #{id}")
    int updateGunStatus(GunStatusUpdateParam param);
}
